#include<stdio.h>
/**
 将字符串转换成整型
 */
int main()
{
	char str[] = "52025";
	int num = 0;
	for(int i=0; str[i]!='\0'; i++){
		if(str[i] >= '0' && str[i] <= '9'){
			num = 10*num + (str[i] - '0');
		}
	}
	printf("%d", num);
	
	return 0;
}
